<h2>Pesan</h2>

<?php foreach($pesan as $p) : ?>
<div>
    <p><?php echo $p->getJudul(); ?></p>
    <p><?php echo $p->getIsi(); ?></p>
</div>
<?php endforeach; ?>

<h2>Kirim Pesan</h2>

<?php echo form_tag_for($pesanForm, 'user/pesan'); ?>
    <?php echo $pesanForm; ?>
<input type="submit" value="Kirim" />
<?php echo '</form>'; ?>